using System.Collections.Generic;
using UnityEngine;

public class Storage : MonoBehaviour
{
	private static Storage _mInstance;

	public List<Weapon> weapons;

	public List<PowerUp> powerUps;

	public static Storage instance
	{
		get
		{
			if (_mInstance == null)
			{
				return UnityEngine.Object.FindObjectOfType<Storage>();
			}
			return _mInstance;
		}
	}

	private void Awake()
	{
		if (_mInstance == null)
		{
			_mInstance = this;
			Object.DontDestroyOnLoad(base.gameObject);
		}
		else
		{
			UnityEngine.Object.Destroy(base.gameObject);
		}
	}
}
